package com.example.aoppreventingrepeatsubmissions.service;

import com.example.aoppreventingrepeatsubmissions.mapper.SubmissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: hyd
 * @time: 2024.7.9 23:00:00
 */

@Service
public class SubmissionServiceImpl implements  SubmissionService{

    @Autowired
    private SubmissionMapper submissionMapper;
    @Override
    public void insert(String name, int age) {
        submissionMapper.insert(name,age);
    }
}
